using OpenTK;

namespace ColladaDotNet.Pipeline.BSP
{
	public class UniformScaleTransformation : ITransformation
	{
		private readonly double k;

		public UniformScaleTransformation(double k)
		{
			this.k = k;
		}

		public Vector3d TransformPosition(Vector3d v)
		{
			return v * k;
		}

		public Vector3d TransformNormal(Vector3d v)
		{
			return v;
		}
	}
}